{include file="common/header"}
<script>
        $('#example-navbar-collapse>ul>li').removeClass('active')
        $($('#example-navbar-collapse>ul>li')[1]).addClass('active')
    </script>
<style>
    .form-group {
        float: unset!important;
        margin-left: auto;
        margin-right: auto;
    }

    form {
        float: unset!important;
        margin-left: auto!important;
        margin-right: auto!important;
    }
</style>

<link href="$fileinput.css" rel="stylesheet">
<script src="$fileinput.js"></script>
<div class="container">
    {if $keys!=0}
    <select class="form-control">
        {volist name="list" id="vo"}

        <option value="{$vo.s_apply_id}">{$vo.name}</option>




        <br/> {/volist}
    </select>
    <br />
    <input type="file"> {else/}

    <h1>请先申请项目</h1>

    {/if}

</div>


</div>
<script>
    $('input').fileinput(
        {
            language: 'zh', //设置语言
            uploadUrl: "/FileUpload/Upload", //上传的地址
            allowedFileExtensions: ['jpg', 'png', 'gif'],//接收的文件后缀,
            maxFileCount: 100,
            enctype: 'multipart/form-data',
            showUpload: true, //是否显示上传按钮
            showCaption: false,//是否显示标题
            browseClass: "btn btn-primary", //按钮样式             
            previewFileIcon: "<i class='glyphicon glyphicon-king'></i>",
            msgFilesTooMany: 5,
        }
    );
</script> {include file="common/footer"}